Optimal. Leaf size=104 \[ \frac {2^n 3^{2 n-1} x^{m+1} \, _2F_1\left (\frac {m+1}{2},1-n;\frac {m+3}{2};\frac {4 a^2 x^2}{9}\right )}{m+1}+\frac {a 2^{n+1} 9^{n-1} x^{m+2} \, _2F_1\left (\frac {m+2}{2},1-n;\frac {m+4}{2};\frac {4 a^2 x^2}{9}\right )}{m+2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {82, 125, 364} \[ \frac {2^n 3^{2 n-1} x^{m+1} \, _2F_1\left (\frac {m+1}{2},1-n;\frac {m+3}{2};\frac {4 a^2 x^2}{9}\right )}{m+1}+\frac {a 2^{n+1} 9^{n-1} x^{m+2} \, _2F_1\left (\frac {m+2}{2},1-n;\frac {m+4}{2};\frac {4 a^2 x^2}{9}\right )}{m+2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 82
Rule 125
Rule 364
Rubi steps
\begin {align*} \int x^m (3-2 a x)^{-1+n} (6+4 a x)^n \, dx &=6 \int x^m (3-2 a x)^{-1+n} (6+4 a x)^{-1+n} \, dx+(4 a) \int x^{1+m} (3-2 a x)^{-1+n} (6+4 a x)^{-1+n} \, dx\\ &=6 \int x^m \left (18-8 a^2 x^2\right )^{-1+n} \, dx+(4 a) \int x^{1+m} \left (18-8 a^2 x^2\right )^{-1+n} \, dx\\ &=\frac {2^n 3^{-1+2 n} x^{1+m} \, _2F_1\left (\frac {1+m}{2},1-n;\frac {3+m}{2};\frac {4 a^2 x^2}{9}\right )}{1+m}+\frac {2^{1+n} 9^{-1+n} a x^{2+m} \, _2F_1\left (\frac {2+m}{2},1-n;\frac {4+m}{2};\frac {4 a^2 x^2}{9}\right )}{2+m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 120, normalized size = 1.15 \[ \frac {9^{n-1} x^{m+1} \left (36-16 a^2 x^2\right )^n \left (18-8 a^2 x^2\right )^{-n} \left (2 a (m+1) x \, _2F_1\left (\frac {m}{2}+1,1-n;\frac {m}{2}+2;\frac {4 a^2 x^2}{9}\right )+3 (m+2) \, _2F_1\left (\frac {m+1}{2},1-n;\frac {m+3}{2};\frac {4 a^2 x^2}{9}\right )\right )}{(m+1) (m+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.24, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (4 \, a x + 6\right )}^{n} {\left (-2 \, a x + 3\right )}^{n - 1} x^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (4 \, a x + 6\right )}^{n} {\left (-2 \, a x + 3\right )}^{n - 1} x^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.16, size = 0, normalized size = 0.00 \[ \int x^{m} \left (-2 a x +3\right )^{n -1} \left (4 a x +6\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (4 \, a x + 6\right )}^{n} {\left (-2 \, a x + 3\right )}^{n - 1} x^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^m\,{\left (3-2\,a\,x\right )}^{n-1}\,{\left (4\,a\,x+6\right )}^n \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________